<?php
$this->breadcrumbs=array(
	'Guests'=>array('index'),
	$model->first_name . ' ' . $model->last_name,
);

$this->menu=array(
	array('label'=>'List All Guests', 'url'=>array('index')),
	array('label'=>'Create New Guest', 'url'=>array('create')),
	array('label'=>'Update ' . $model->first_name, 'url'=>array('update', 'id'=>$model->guest_id)),
	array('label'=>'Delete ' . $model->first_name, 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->guest_id),'confirm'=>'Are you sure you want to delete this guest?')),
	array('label'=>'Manage Guests', 'url'=>array('admin')),
);
?>

<h1><?php echo $model->first_name; ?> <?php echo $model->last_name; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		//'guest_id',
		'first_name',
		'last_name',
		'email',
		array(
			'label'=>'Picture',
	                'type'=>'image',
			'value'=>Yii::app()->baseURL . '/guest_images/' . $pictureModel->path,
		),

	),
)); ?>
